package org.example.service;

import org.example.domain.Basket;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.vo.CartTotalAmount;
import org.example.vo.CartVo;

import java.util.List;

public interface BasketService extends IService<Basket>{


    Integer queryMemberBasketProdCount(String openId);


    CartVo queryMemberCartVo();

    CartTotalAmount calculateMemberCheckedBasketTotalAmount(List<Long> basketIds);

    Boolean changeCartItem(Basket basket);
}
